class imageClass {
    constructor(game, name){
        this.texture = game.textureByName(name)
        this.x = 0
        this.y = 0
        this.w = this.texture.width
        this.h = this.texture.height
    }

    static new(game, name){
        var i = new this(game,name)
        return i 
    }
    update(){

    }
}